export function useOpenId() {
  const user = uni.getStorageSync('user')
  try {
    return JSON.parse(user).userInfo.openId
  }
  catch (e) {
    return ''
  }
}
